package com.up.management.domain.dto;

import com.up.management.domain.entity.Event;
import com.up.management.domain.entity.EventDetail;

/**
 * 活动管理（包含详情）提交DTO
 */
public class EventWithDetailDTO extends Event {
    /** 活动详情信息 */
    private EventDetail eventDetail;

    public EventDetail getEventDetail() {
        return eventDetail;
    }

    public void setEventDetail(EventDetail eventDetail) {
        this.eventDetail = eventDetail;
    }

    @Override
    public String toString() {
        return "EventWithDetailDTO{" +
                "eventDetail=" + eventDetail +
                "} " + super.toString();
    }
}